<template>
	<view>
		<view class="line-group">
			<view class="line">
				<view class="name">新密码</view>
				<view class="main">
					<input class="uni-input" :password="true" maxlength="20" placeholder="6-20位英文字母、数字符号组合" v-model="pwd"
					 @blur="blur(0)" />
					<view class="icon" v-show="showIcon" @click="clearIcon(0)">
						<i-icon icon="iconquxiaoxunjia" type="single" size="34rpx" color="#e1e1e1"></i-icon>
					</view>
				</view>
			</view>

			<view class="line">
				<view class="name">再次输入</view>
				<view class="main">
					<input class="uni-input" :password="true" maxlength="20" placeholder="请再次输入新密码" v-model="rePwd"  @blur="blur(1)" />
					<view class="icon" v-show="showIcon2" @click="clearIcon(1)">
						<i-icon icon="iconquxiaoxunjia" type="single" size="34rpx" color="#e1e1e1"></i-icon>
					</view>
				</view>
			</view>
		</view>
		<view class="sub">
			<button v-show="isDisable" class="btn-disable">完成</button>
			<button v-show="!isDisable" class="btn-primary" @click="submit">完成</button>
		</view>

	</view>
</template>
<script src="./changePassword.js"></script>
<style src="./changePassword.scss" lang="scss"></style>
